﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Animal
    {
        private string name;
        private jiekou3 eat;
        private jiekou3 pa;
        private jiekou3 swim;

        public string Name { get => name; set => name = value; }
        internal jiekou3 Eat { get => eat; set => eat = value; }
        internal jiekou3 Pa { get => pa; set => pa = value; }
        internal jiekou3 Swim { get => swim; set => swim = value; }

        public Animal(string name)
        {
            this.name = name;
        }

    }
}
